package com.blqy.fr.model.template;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 模板推送实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "TemplatePush")
@TableName("template_push")
public class TemplatePush extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "推送所有用户id列表（如：1,2,3）")
    @TableField("user_list")
    private String userList;

    @Schema(description = "推送使用模板id")
    @TableField("template_id")
    private Long templateId;

    @Schema(description = "备注")
    @TableField("remarks")
    private String remarks;

    @Schema(description = "是否可修改：0=否，1=是")
    @TableField("is_edit")
    private Integer isEdit;
}